js formatString 格式化字符串 /* 函數:格式化字符串 參數:str:字符串模板; data:數據 調用方式:formatString("api/values/{id}/{name}",{id:101 ...